package cn.dada.dadarecipes.mall.productreview.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductReview {
    @ApiModelProperty(value = "评论id")
    private Long id;
    @ApiModelProperty(value = "商品id")
    private Long productId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "评分")
    private BigDecimal score;
    @ApiModelProperty(value = "评论内容")
    private String reviewContent;
    @ApiModelProperty(value = "评论时间")
    private Date reviewDate;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
